package com.xj.pattern.adapter.handler;

import com.xj.pattern.adapter.HandlerAdapter;
import com.xj.pattern.adapter.business.Controller;
import com.xj.pattern.adapter.business.Servlet;

public class SimpleServletHandlerAdapter implements HandlerAdapter {

	@Override
	public Object handle(String request, String response, Object handler) throws Exception {
		System.out.println("调用SimpleServletHandlerAdapter");
		System.out.println("调用SimpleControllerHandlerAdapter");
		new Servlet().service(request, response);
		return null;
	}

}
